package com.itheima.reggie;


import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;


/**
 * https://39.108.147.110:8080/front/page/login.html
 * https://localhost:8080/backend/page/login/login.html
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement
@EnableCaching //缓存注解 开启spring cache 注解的缓存功能

public class ReggieApp {
    public static void main(String[] args) {
        SpringApplication.run( ReggieApp.class ,args);
        log.info( "项目启动成功。。。" );
    }

}